package net.arvin.model;

public class User {
	// 唯一标识不可重复，并用以登录
	private String phonenumber;
	// 昵称，为了显示用户名称，可重复
	private String nickname;
	// 密码
	private String password;
	// 邮箱
	private String email;
	// 性别
	private String sex;
	// 生日
	private String birthday;
	// 账户余额
	private float acountbalance;
	// 密保问题
	private String question;
	// 密保答案
	private String answer;

	public User() {

	}

	public User(String phonenumber, String nickname, String password,
			String email, String sex, String birthday, float acountbalance,
			String question, String answer) {
		this.phonenumber = phonenumber;
		this.nickname = nickname;
		this.password = password;
		this.email = email;
		this.sex = sex;
		this.birthday = birthday;
		this.acountbalance = acountbalance;
		this.question = question;
		this.answer = answer;
	}

	public String getPhonenumber() {
		return phonenumber;
	}

	public void setPhonenumber(String phonenumber) {
		this.phonenumber = phonenumber;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public float getAcountbalance() {
		return acountbalance;
	}

	public void setAcountbalance(float acountbalance) {
		this.acountbalance = acountbalance;
	}

	public String getQuestion() {
		return question;
	}

	public void setQuestion(String question) {
		this.question = question;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}
}